package com.jyw.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author Created by ZhangCheng on 2024/01/10
 */
@ApiModel("批量新增科室电话薄子项实体")
@Data
public class SysDeptPhoneBookSubAddDto {

    /**
     * 科室电话
     */
    @ApiModelProperty("科室电话")
    @NotBlank(message = "科室电话不能为空")
    @Size(max = 50, message = "科室电话长度不能超过50个字符")
    private String phone;

    /**
     * 联系人
     */
    @ApiModelProperty("联系人")
    @NotBlank(message = "联系人不能为空")
    @Size(max = 100, message = "联系人长度不能超过100个字符")
    private String contacts;
}
